package com.tcse.ppmethodhandler.entity;


public class SpanRecord {
    
    protected ClassFileRecord classFileRecord;
    protected String methodRecord;
    protected short sequence;
    protected int depth;
    
    public void setClassFileRecord(ClassFileRecord classFileRecord) {
        this.classFileRecord = classFileRecord;
    }
    
    public void setMethodRecord(String methodRecord) {
        this.methodRecord = methodRecord;
    }
    
    public void setSequence(short sequence) {
        this.sequence = sequence;
    }
    
    public void setDepth(int depth) {
        this.depth = depth;
    }
    
    public ClassFileRecord getClassFileRecord() {
        return classFileRecord;
    }
    
    public String getMethodRecord() {
        return methodRecord;
    }
    
    public short getSequence() {
        return sequence;
    }
    
    public int getDepth() {
        return depth;
    }
    
    public String toString(){
        String classFileRecordString = classFileRecord==null?"classFileRecord=null":classFileRecord.toString();
        return  "SpanRecord{" +
                "methodRecord='" + methodRecord + '\'' + ", " +
                classFileRecordString + ", " +
                "sequence='" + sequence + "\'" + ", " +
                "depth='" + depth + "\'" +
                "}";
        // return "12345";
    }
    

    
}
